<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>custom login page</title>
</head>
<body>
<form action="/login" method="post">
    <label><input type="text" name="username"/></label>
    <label><input type="password" name="password"/></label>
    <button type="submit">登录</button>
</form>
<h4 th:if="${param.error}">账号或密码错误...</h4>
<h4 th:if="${param.logout}">您已注销...</h4>
</body>
</html>